package com.example.firstktl
const val MAX_COUNT=100
fun main(){
    println("hello world")
    val num1=10
    var num2=20
    num2=30
    println("num2="+num2)
    println("num2=$num2")
    val companyName:String="itCast"
    println("CompanyName:$companyName")
    println()
    var intNum:Int=10
    var longNum:Long=100L
    var doubleNum:Double=3.13
    var message="name:$intNum,Age:${num2+1}"
    println(message)
    println(addtest(num1,num2))
}
fun addtest(num1:Int,num2:Int) =num1+num2